#ifndef M0WIG_H
#define M0WIG_H

#include <QWidget>
#include <QDebug>
#include <QString>
#include <QStringList>
#include <QByteArray>

#include <QJsonArray>
#include <QJsonValue>
#include <QJsonDocument>
#include <QJsonObject>
#include <QJsonParseError>
#include "mqtt/qmqtt.h"
#include "GlobalVal.h"
namespace Ui
{
    class M0Wig;
}

class M0Wig : public QWidget
{
    Q_OBJECT

public:
    explicit M0Wig(QWidget *parent = 0);
    ~M0Wig();
private:
    Ui::M0Wig *ui;
private slots:
    void dataUpSlot(QByteArray Array);
    void btnClickedLED1Slot();
    void btnClickedLED2Slot();
    void btnClickedLED3Slot();
    void btnClickedFanSlot();
    void btnClickedMotorSlot();
};

#endif // M0WIG_H
